package widget.dress.mode
{
	import flash.utils.Dictionary;
	
	import widget.dress.enum.ActionEnum;
	import widget.mode.BaseModel;
	
	public class DressModel extends BaseModel{
		
		/**方向0~7*/
		public var direction : uint = 0;
		/**动作状态*/
		private var _actionStatus : uint = ActionEnum.ACTION_STAND;
		/**技能状态*/
		private var _skillStatus : uint = ActionEnum.SKILL_STOP;
		
		public var dressID : String = "";
		
		public var updateID:String = "";
		public function DressModel()
		{
			super();
		}
		
		public function set actionStatus(act : uint) : void
		{
			_actionStatus = act;
			if (_actionStatus == ActionEnum.ACTION_ATTACK)
			{
				_skillStatus = ActionEnum.SKILL_STOP;
			}
		}
		
		public function set skillStatus(state : uint) : void
		{
			_skillStatus = state;
		}
		
		public function get skillStatus() : uint
		{
			return _skillStatus;
		}
		
		public function get actionStatus() : uint
		{
			return _actionStatus;
		}
	}
}